#ifndef __UI_LOGIN_H__
#define __UI_LOGIN_H__

#include <QDialog>
#include <QLabel>
#include <QLineEdit>
#include <QCheckBox>
#include <QPushButton>

class UILogin : public QDialog
{
	Q_OBJECT

public:
	explicit UILogin(QWidget *parent = 0);
	~UILogin();

public:
	void moveCenter(int screenWidth, int screenHeight);
	void setQCGeometry(int x, int y, int w, int h);
	void initContent();

public slots:
void onRememberClicked();
void onLogin();

private:
	QLabel* m_pLabelTitle;
	QLineEdit* m_pEditName;
	QLineEdit* m_pEditPassword;
	QCheckBox* m_pCheckRemember;
	QPushButton* m_pBtnLogin;

private:
	int m_nWidth;
	int m_nHeight;

};

#endif // !__UI_LOGIN_H__
